Skip to content

Conversation

@joshheald
Copy link
Contributor

Part of: WOOMOB-1210

Description

This PR removes the sale price properties which aren't used in POS, and adds description properties in preparation for use in search.

Stock management fields are left in – there's code in POS which uses them, though it's currently feature flagged.

Steps to reproduce

None of the fields make any difference to the user experience – check the app runs, that you can still load POS and browse products/variations, and that unit tests pass.


  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@joshheald joshheald added this to the 23.2 milestone Aug 29, 2025
@joshheald joshheald requested a review from jaclync August 29, 2025 14:27
@joshheald joshheald added type: task An internally driven task. feature: POS labels Aug 29, 2025
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Aug 29, 2025

App Icon📲 You can test the changes from this Pull Request in WooCommerce iOS Prototype by scanning the QR code below to install the corresponding build.

App NameWooCommerce iOS Prototype
Build Numberpr16060-a761ebf
Version23.1
Bundle IDcom.automattic.alpha.woocommerce
Commita761ebf
Installation URL1ullmemdf1d8o
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

Copy link
Contributor

@jaclync jaclync left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning up the POS properties, POS works as before 🚢

public let productID: Int64
public let name: String
public let productTypeKey: String
public let fullDescription: String?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interesting that shortDescription requires periphery ignore but this one doesn't 🤔

@joshheald joshheald enabled auto-merge September 1, 2025 08:30
@dangermattic
Copy link
Collaborator

1 Warning
⚠️ This PR is larger than 300 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.

Generated by 🚫 Danger

@joshheald joshheald merged commit 601fb61 into trunk Sep 2, 2025
13 of 14 checks passed
@joshheald joshheald deleted the woomob-1210-remove-unused-properties-from-pos-entities branch September 2, 2025 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: POS type: task An internally driven task.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants